﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.GridPerson
{
    /// <summary>
    /// 更新网格人员的命令
    /// </summary>
    public class UpdateGridPersonCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public long Id {  get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pass { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string Card { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        public long RoleId { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public long DepartmentId { get; set; }
    }
}
